/**
 * 
 */
package com.gragra.sampling.sequentialStructure.tests;
import static org.junit.Assert.*;
import org.junit.Test;
import com.gragra.sampling.sequentialStructure.CaseLevel;
import com.gragra.sampling.sequentialStructure.ExtensionLevels;
/**
 * @author Christoph Teichmann
 * created Mar 26, 2013 7:33:17 PM
 * @version 0.1
 */
public class TestCaseLevel
{
	/**
	 * Test method for {@link com.gragra.sampling.sequentialStructure.CaseLevel#getLevel()}.
	 */
	@Test
	public final void testGetLevel()
	{
		assertEquals(CaseLevel.CamelCase.getLevel(),ExtensionLevels.CaseTypeLevel);
		assertEquals(CaseLevel.DownCase.getLevel(),ExtensionLevels.CaseTypeLevel);
		assertEquals(CaseLevel.UpperCase.getLevel(),ExtensionLevels.CaseTypeLevel);
		assertEquals(CaseLevel.CapsLockCase.getLevel(),ExtensionLevels.CaseTypeLevel);
	}
	/**
	 * Test method for {@link com.gragra.sampling.sequentialStructure.CaseLevel#getNumber()}.
	 */
	@Test
	public final void testGetNumber()
	{
		assertEquals(CaseLevel.CamelCase.getNumber(),2);
		assertEquals(CaseLevel.CapsLockCase.getNumber(),1);
		assertEquals(CaseLevel.DownCase.getNumber(),3);
		assertEquals(CaseLevel.UpperCase.getNumber(),0);
	}
}